/**
 * @file CollisionEvent.hpp
 *
 * @date 11/02/2012
 * @author Tales 
 *
 */

#ifndef COLLISIONEVENT_HPP_
#define COLLISIONEVENT_HPP_
#include "Event.hpp"
#include "common.hpp"

namespace wolf {

/**
 * @brief Event that occurs whatever two actors touches each other.
 * @ingroup eventsMod
 */
class CollisionEvent: public Event {
public:
	CollisionEvent(Engine & engine, Actor & actor, Actor & other);
	virtual ~CollisionEvent();
	Actor & getOther() const;

private:
	Actor &other;
};

} /* namespace wolf */
#endif /* COLLISIONEVENT_HPP_ */
